﻿@model MvcApplicationTest.Models.LocalPasswordModel

<h3>Change password</h3>

@using (Html.BeginForm("Manage", "Account"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Change Password Form</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.OldPassword)
                @Html.PasswordFor(m => m.OldPassword)
            </li>
            <li>
                @Html.LabelFor(m => m.NewPassword)
                @Html.PasswordFor(m => m.NewPassword)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)
            </li>
        </ol>
        <input type="submit" value="Change password" />
    </fieldset>
}

<aside>
    <h3>Aside Title</h3>
    <p>
        You are the admin!
    </p>
    <ul>
        <li>@Html.ActionLink("Administrator management", "AdminManager", "Home")</li>
    </ul>
    <h3>Change your display name</h3>
    <ul>
        <input type="submit" value="Change your display name" onclick="ChangeDisplayName()"/>
        ViewBag.IsChangeDisplayName=true;
    </ul>
</aside>


<script type="text/javascript">
    function ChangeDisplayName() {
        }
    </script>
